Picture 1 |
When you are finished you can select the "calculate" button for each simulation. Keep the mode "Auto". When the simulation is finished select the End Command button. Specific observe the lvl parameter and the END of each simulation.
In Blad1 the value lvl parameter is 1. In Blad2: 1. In Blad3: 2. In Blad4 3: In Blad5: 6. In Blad6: 6. In Blad7: 4. In Blad8: 4 and in Blad9: 14.
What follows is a short description of each simulation or "Blad"
What follows is a short description of each simulation or "Blad"
Picture 2 |
Main
Initialize
Init
Store
Macro_Right
Macro_Bottom
CrossTest
Optimize_mat
Optimize_mat1
Replace
Optimize_game
Tgame
Calculate1
Maximum1
Wait
Maximum2
Process
Test_kleur
Test_kleur2
Clearmap
Exit sub
' one choice
Test_Mat_kleur
Map_kleur
Exit sub
' two choices
Do
Test_mat
Test_Mat_kleur
Map_kleur
Error --> Exit
Maximum2
Loop
Maximum3
Test_mat
Test_Mat_kleur
Map_kleur
Maximum2
Wait
|
The three most important subroutines are Maximum1, Maximum2 and Maximum3.
|
You can also use the same concept as raised by the following question: How do you prove that a perpetual motion machine does not work? Built one.
Until now all the simulations that did not work are caused by programming errors.
At 15 december 2018 a programming conceptual error was discovered in the subroutine process. The subroutine first calls Test_kleur and secondly Test_kleur2
In principle after making this second call the first subroutine should be called again. Now the two are called in a loop until no change is detected.
At 15 december 2018 also a programming error was detected in subroutine test_kleur2. The structure setup was not correct for the last country tested. The structure was changed.
Back to my home page Contents of This Document